Northwoods.GoSilverlight 1.3.5 Assembly
DoLinkAdded Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoLinkAdded Method

linkdata
This should be called when a link data object is added to the LinksSource collection.

Syntax

Visual Basic (Declaration) 
Public Sub DoLinkAdded( _
   ByVal linkdata As LinkType _
) 
C# 
public void DoLinkAdded( 
   LinkType linkdata
)

Parameters

linkdata

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the LinksSource collection implements System.Collections.Specialized.INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the LinksSource has been augmented.

This raises a Changed event with a value of ModelChange.AddedLink.

Requirements

See Also

© 2012 All Rights Reserved.